
public class WhileLoopDemo {

	public static void main(String[] args) {
		String[] names = {"Stuti", "Samkit", "Smit"};
		
		int counter =0;
		
		while(counter<names.length)
		{
			System.out.println("Name = "+names[counter]);
			counter++;
		}
				

	}

}
